const scanning = resolve =>
  require(['common/src/views/noticeScanning/scanning'], resolve);
const scanCodeQuery = resolve =>
  require(['common/src/views/noticeScanning/scanCodeQuery'], resolve);
const layout = resolve => require(['common/src/views/layout'], resolve);

const noticeScanning = {
  path: '/noticeScanning',
  name: 'noticeScanning',
  component: layout,
  children: [
    // 录取通知书扫描
    {
      path: '/scanning',
      name: 'scanning',
      component: scanning,
      meta: {
        nokeepalive: true
      }
    },
    // 录取通知书扫码查询
    {
      path: '/scanCodeQuery',
      name: 'scanCodeQuery',
      component: scanCodeQuery,
      meta: {
        nokeepalive: true
      }
    }

  ]
};

export default noticeScanning;
